package com.example;

/* 自定义异常类 */
public class AgeException extends Exception {

    public AgeException() {
    }

    public AgeException(String message) {
        super(message);
        System.out.println("自定义的异常");
    }
}
